package com.erp.erp_ui.warehouse.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : InventoryByStockVo
 * @Description : 盘点-查询库存回参实体
 * @Author : lst
 * @Date: 2020-07-24 14:32
 */
public class InventoryByStockVo implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = -4304533409308065732L;

    /**
     * 库存id
     */
    private Integer stockId;

    /**
     * 仓库id
     */
    private Integer warehouseId;
    /**
     * 产品编码
     */
    private String productCode;
    /**
     * 规格编码
     */
    private String specificationCode;
    /**
     * 规格说明
     */
    private String specificationExplanation;

    /**
     * 单位
     */
    private String productUnit;
    /**
     * 客户货号
     */
    private String clientProductNo;
    /**
     * 产品中文名称
     */
    private String productCname;
    /**
     * 产品英文名称
     */
    private String productEname;
    /**
     * 产品中文描述
     */
    private String productCdesc;
    /**
     * 产品英文描述
     */
    private String productEdesc;
    /**
     * 颜色
     */
    private String color;
    /**
     * 批次号
     */
    private String lotNo;
    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;
    /**
     * 总托盘
     */
    private BigDecimal totalTray;

    /**
     * 实际数量
     */
    private BigDecimal realQuantity;

    /**
     * 成本单价(初始来源于备货入库中的 入库成本)
     */
    private BigDecimal productUnitPrice;

    /**
     * 分摊费用单价
     */
    private BigDecimal shareCostPrice;

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public BigDecimal getProductUnitPrice() {
        return productUnitPrice;
    }

    public void setProductUnitPrice(BigDecimal productUnitPrice) {
        this.productUnitPrice = productUnitPrice;
    }

    public BigDecimal getShareCostPrice() {
        return shareCostPrice;
    }

    public void setShareCostPrice(BigDecimal shareCostPrice) {
        this.shareCostPrice = shareCostPrice;
    }

    public BigDecimal getRealQuantity() {
        return realQuantity;
    }

    public void setRealQuantity(BigDecimal realQuantity) {
        this.realQuantity = realQuantity;
    }

    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }


    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public String getClientProductNo() {
        return clientProductNo;
    }

    public void setClientProductNo(String clientProductNo) {
        this.clientProductNo = clientProductNo;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public String getProductCdesc() {
        return productCdesc;
    }

    public void setProductCdesc(String productCdesc) {
        this.productCdesc = productCdesc;
    }

    public String getProductEdesc() {
        return productEdesc;
    }

    public void setProductEdesc(String productEdesc) {
        this.productEdesc = productEdesc;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("InventoryByStockVo").append('[')
                .append("stockId=")
                .append(stockId)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",productUnit=")
                .append(productUnit)
                .append(",clientProductNo=")
                .append(clientProductNo)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",productCdesc=")
                .append(productCdesc)
                .append(",productEdesc=")
                .append(productEdesc)
                .append(",color=")
                .append(color)
                .append(",lotNo=")
                .append(lotNo)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(",realQuantity=")
                .append(realQuantity)
                .append(",productUnitPrice=")
                .append(productUnitPrice)
                .append(",shareCostPrice=")
                .append(shareCostPrice)
                .append(']');
        return sb.toString();
    }
}
